#!/bin/sh

# Lijun ZHOU, 2007.01.25

# root crontab entry:
#  59 23 * * *   /opt/nginx/bin/zhangben/nginx-zhangben_cnc.rotatelog 2>&1 > /dev/null


cd /var/log/nginx/zhangben
/bin/mv zhangben_access_log zhangben_access_log-`/bin/date +"%y%m%d"`
/bin/kill -USR1 `/bin/cat /var/run/nginx/nginx.pid`


#EOF: nginx-zhangben_cnc.rotatelog
